﻿using System;
using com.eforceglobal.crux.controllers;
using com.eforceglobal.crux.DTOs;

public partial class Controls_Common_LoggedInUserCompany : System.Web.UI.UserControl
{
    SessionData sessionData = new SessionData();
    UserInformation userInformation;

    protected void Page_Load(object sender, EventArgs e)
    {
        userInformation = sessionData.CurrentUser;
        lblCompany.Text = Company;
    }

    public string Company
    {
        get
        {
            return userInformation.CompanyName;
        }
    }
}
